< previous page page_569 next page >

Page 569
8160-0569a.gif
Figure 28.8
The Microsoft System Information utility.
The About Form
Its very easy to create your own custom About form to use in any application to display system information. Of course, you have to make about a half-dozen API calls, but it can be done. In fact, this presents an ideal situation where you can use a class module to wrap up all the API calls for retrieving system information. The About form shown in Figure 28.9 will give you an idea of the different types of system information you can retrieve via API calls.
Examples Filename: ApiAbout.frm
8160-0569b.gif
Figure 28.9
An About form showing system information.
The About form shown in Figure 28.9 has a private procedure called SysInfoGet() that displays all the information shown on the form. Heres the code:
9f31265bb40b592b1929e18a47ab28e5.gif
Private Sub SysInfoGet()
   Dim oSysInfo As New clsSystemInfo

 
< previous page page_569 next page >

If you like this book, buy it!